﻿using System;
using System.Collections.Generic;
using DataAccess;

namespace DataAccess
{
    public class EducationEvent : ServiceObject
    {
        public EducationEvent()
        {
        }

        public EducationEvent(long id, String what, Int32 groupId, DateTime startTime, 
                                DateTime endTime, DateTime lastTime, String repeat, 
                                String where, String description, String resultType,
                                IList<User> users, EducationModule module)
        {
            Id = id;
            What = what;
            GroupId = groupId;
            StartTime = startTime;
            EndTime = endTime;
            LastTime = lastTime;
            Repeat = repeat;
            Where = where;
            Description = description;
            ResultType = resultType;
            Users = users;
            Module = module;
        }

        public String What { get; set; }

        public Int32 GroupId { get; set; }

        public DateTime StartTime { get; set; }

        public DateTime EndTime { get; set; }
        
        public DateTime LastTime { get; set; }

        public String Repeat { get; set; }

        public String Where { get; set; }

        public String Description { get; set; }

        public String ResultType { get; set; }

        public IList<User> Users { get; set; }

        public EducationModule Module { get; set; }
    }
}